package com.hzncc.scaffold.entity.Other;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 证书编号表
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Certnum implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 证书编号规则id
     */
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private Integer id;

    /**
     * 编号前缀
     */
    private String prefix;

    /**
     * 编号名称
     */
    private String title;

    /**
     * 证书类型
     */
    @TableField("certType")
    private Integer certType;

    /**
     * 等级
     */
    private Integer level;


}
